

<h1>New Tally Service</h1>
<form method="POST" action="<?php echo $this->baseUrl()?>/admin/index/<?php echo $this->action?>">
    <input type="hidden" name="id" value="<?php echo $this->id ?>" />
    <div class='wrap-content'>
        <label>
            Service
        </label>
        <div class='content'>  
            <div class='wrap-input'>
                <input value="<?php echo $this->service ?>" class="new_record" type="text" name="service"/>
                <?php echo $this->partial("/_partial/field_error.phtml", array('errors' => $this->errors, 'field' => 'service')) ?>               
            </div>
        </div>
    </div>    
    <div class='wrap-content'>
        <label>
            Unit Price
        </label>
        <div class='content'>  
            <div class='wrap-input'>
                <input value="<?php echo $this->unit_price ?>" class="new_record" type="text" name="unit_price"/> <span>USD</span>
                <?php echo $this->partial("/_partial/field_error.phtml", array('errors' => $this->errors, 'field' => 'unit_price')) ?>              
            </div>
            <div class='wrap-input'>
                <input class="submit-button" type="submit" name="Save" value="Save"/>            
                <a href='<?php echo $this->baseUrl() ?>/admin/index/material?type=tally'>
                    <input type='button' class='submit-button' value='Cancel'/>
                </a>                              
            </div>
        </div>
    </div>
</form>